.card-header {
  display: flex;
  width: 100%;

  .cover {
    padding: 0.5rem 0 0 0.5rem;
  }

  .card-img {
    width: calc(375rpx - 0.5rem);
  }

  .card-info {
    width: 375rpx;
  }
}

.text-block {
  display: block;
  color: var(--color-h4);
  font-size: 0.8em;
}

.card-attr {
  display: flex;
  overflow: hidden;
  flex-direction: row;
  padding: 0.5rem 0.5rem 0 0.5rem;

  .part {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 2.5rem;
  }

  .left {
    background-color: var(--bg-main);
    color: white;
    width: 50%;
    border-radius: 0.5rem 0 0 0.5rem;
    font-size: 0.8em;
  }

  .right {
    background-color: var(--bg-card);
    color: var(--color-h1);
    width: 50%;
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 0.8em;
    line-height: 1em;

    text {
      text-align: center;
      vertical-align: top;
    }
  }

  .left.small {
    width: calc(25% - 0.25rem);
  }

  .right.large {
    width: calc(75% + 0.25rem);
  }

  .ruby {
    font-size: 8px;
  }

  .left.header {
    background-color: var(--color-danger);
  }

  .right.header {
    background-color: var(--bg-danger-light);
    color: var(--color-danger);
  }

}

.card-effect {
  padding: 0.5rem 0.5rem 0 0.5rem;

  .header {
    display: flex;
    background-color: var(--color-dark);
    color: white;
    height: 2.25rem;
    font-size: 0.9em;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
    font-weight: 400;
  }

  .detail {
    box-sizing: border-box;
    padding: 0.5rem;
    background-color: var(--bg-card);
    border-radius: 0 0 0.5rem 0.5rem;

    .card {
      box-sizing: border-box;
      width: 100%;
      line-height: 1.2rem;
    }

    .block {
      display: block;
      width: 100%;
      height: 1rpx;
    }

    .inline {
      display: inline;
      position: relative;
      word-break: break-all;

      .inline-text {
        font-size: 0.8em;
      }
    }

    .inline.img {
      display: inline-block;
      padding: 0 2px;
      height: 1rem;

      .inline-img {
        height: 1rem;
        vertical-align: middle;
      }
    }

    .qa {
      padding: 0.25rem;
      border-radius: 0.5rem;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: white;
      margin-bottom: 0.5rem;
      position: relative;

      .tag {
        position: absolute;
        display: flex;
        border-radius: 0.25rem;
        height: 1.25rem;
        width: 1.25rem;
        justify-content: center;
        align-items: center;
        left: 0.5rem;
        font-size: 0.8em;
      }

      .q {
        color: white;
        background-color: var(--color-danger);
      }

      .a {
        color: var(--color-danger);
        background-color: var(--bg-danger-light);
      }

      .content {
        display: inline-flex;
        font-size: 0.8em;
        padding: 0.25rem;
        padding-left: 2.25rem;
        width: 100%;
      }
    }

  }

}

.divider {
  margin-top: 1rem;
  display: flex;
  padding: 0.5rem 0.5rem 0 0.5rem;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;

  .tag {
    display: inline-block;
    height: 2rem;
    width: 0.5rem;
    margin-right: 0.5rem;
    background: linear-gradient(to bottom,
        var(--color-danger) 0%,
        var(--color-danger) 80%,
        var(--bg-danger-light) 80%,
        var(--bg-danger-light) 100%);
  }
}